execute store result score #index temp run data get storage vs:system chain.list
execute store result storage vs:system temp.GSG.index int 1 run scoreboard players remove #index temp 1

function vs:item/geomagnetic_storm_generator/invalidation_reactions/invalidation with storage vs:system temp.GSG

data remove storage vs:system temp.GSG
scoreboard players reset #index temp

#Stream Barrier Spawner
$execute as @n[tag=StreamBarrierSpawner,type=marker,tag=$(team)] at @s run function vs:system/game_ctrol/stream_barrier_spawner/short_circuit/start {tick:200}
$execute as @n[tag=StreamBarrierSpawner,type=marker,tag=$(team)] at @s run function vs:system/game_ctrol/stream_barrier_spawner/health/remove {value:5}